#基础镜像
ARG FROM_IMAGE_NAME=continuumio/miniconda3:latest
FROM ${FROM_IMAGE_NAME}
ADD class4.tar.gz /root/workspace
#工作目录
WORKDIR /root/workspace
# COPY ./ /root/workspace

RUN pip install -r requirements.txt
RUN pip install --upgrade --user pydantic
EXPOSE 8070
CMD ["uvicorn", "app:app", "--workers", "1", "--host", "0.0.0.0", "--port", "8070"]
# CMD python cs_text_classification.py